package com.lzs.adx.web.modules.adx.dao;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lzs.adx.commmon.dao.BaseDao;
import com.lzs.adx.web.modules.adx.dto.Chart;
import com.lzs.adx.web.modules.adx.dto.PlaterChart;
import com.lzs.adx.web.modules.adx.dto.ReportTotalDTO;
import com.lzs.adx.web.modules.adx.dto.Total;
import com.lzs.adx.web.modules.adx.entity.ReportTotalEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * 报表汇总
 *
 * @author wangzhijun 825400558@qq.com
 * @since 1.0.0 2023-06-06
 */
@Mapper
public interface ReportTotalDao extends BaseDao<ReportTotalEntity> {


    IPage<ReportTotalDTO> selectReportTotalPage(IPage<?> page, @Param("params") Map<String, Object> params);

    IPage<ReportTotalDTO> selectOcpxReportTotalPage(IPage<?> page, @Param("params") Map<String, Object> params);

    public Total totalALlInfo();

    List<PlaterChart> countProductTotal();

    List<Chart> countTypeChart();

    List<Chart> countTotalChart();


}